export interface Rect {
  x: number;
  y: number;
  w: number;
  h: number;
}

interface RenderConfigRect {
  type: "rect";
  color: string;
}
interface RenderConfigCircle {
  type: "circle";
  color: string;
}
interface RenderConfigRound {
  type: "round";
  color: string;
}
interface RenderConfigImg {
  type: "img";
  img: HTMLImageElement;
}
export type RenderConfig = RenderConfigRect | RenderConfigCircle | RenderConfigImg | RenderConfigRound | null;
